#ifndef _DD_STRUCT_TABLE_H_
#define _DD_STRUCT_TABLE_H_

#include "dd_dynamic_array.h"

// what information is saved for each struct
struct struct_entry {
	char *name;
	int parent;
};

/* insert - add new struct
 * lookup - find existing struct
 * entry at - return indxed struct
 */
int struct_insert(struct struct_entry *e);
int struct_lookup(const char *name);
struct struct_entry *struct_entryat(int index);

// debug - print
void struct_print();

#endif
